﻿#region 文件信息

// FileName: SoCafeShop/Sohobloo.SoAuth.Web/RouteConfig.cs
// Author: Sohobloo
// CreateTime: 2013/06/30 4:47
// UpdateTime: 2013/06/30 7:38

#endregion

#region 引用

using System.Web.Mvc;
using System.Web.Routing;

#endregion

namespace Sohobloo.SoAuth.Web
{
    public class RouteConfig
    {
        public static void RegisterRoutes(RouteCollection routes)
        {
            routes.IgnoreRoute("{resource}.axd/{*pathInfo}");

            routes.MapRoute(
                name: "Default",
                url: "{controller}/{action}/{id}",
                defaults: new {controller = "Home", action = "Index", id = UrlParameter.Optional}
                );
        }
    }
}